Skip to content

Document template documentation#1566

Merged
safatshahin merged 1 commit into
moodle:mainfrom
andrewnicols:deprecationGeneral
May 18, 2026
Merged

Document template documentation#1566
safatshahin merged 1 commit into
moodle:mainfrom
andrewnicols:deprecationGeneral

Conversation

@andrewnicols
Copy link
Copy Markdown
Member

This is based on #1562 and also includes a couple of more general deprecation notes.

Copilot AI review requested due to automatic review settings April 14, 2026 04:34
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 14, 2026

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 9192fe0
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/6a0aa3bb4f6e560008a083f3
😎 Deploy Preview https://deploy-preview-1566--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new documentation pages describing deprecation approaches for JavaScript and Mustache templates, and expands the main deprecation policy page to clarify that deprecation considerations apply beyond just “public APIs”.

Changes:

  • Added deprecation policy pages for JavaScript and templates under general/development/policies/deprecation/.
  • Added a JavaScript deprecation “how-to” guide under docs/guides/javascript/.
  • Updated the deprecation policy index to explicitly include non-PHP areas (JS, templates, React, web services, etc.) and breaking changes via “changes”.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
general/development/policies/deprecation/templates.md New policy page describing how template deprecations should be handled.
general/development/policies/deprecation/javascript.md New policy page describing JavaScript deprecation principles and pointing to the guide.
general/development/policies/deprecation/index.md Clarifies that deprecation policy applies broadly across Moodle code and breaking changes.
docs/guides/javascript/deprecation.md New guide describing usage of the core/deprecated utility and related behaviors.

Comment thread general/development/policies/deprecation/javascript.md
Comment thread docs/guides/javascript/deprecation.md
Comment thread general/development/policies/deprecation/templates.md
Comment thread general/development/policies/deprecation/templates.md
@safatshahin safatshahin self-requested a review May 18, 2026 00:52
@safatshahin safatshahin enabled auto-merge May 18, 2026 05:27
@safatshahin safatshahin force-pushed the deprecationGeneral branch from df682f8 to 9192fe0 Compare May 18, 2026 05:29
@safatshahin safatshahin disabled auto-merge May 18, 2026 05:29
Copy link
Copy Markdown
Collaborator

@safatshahin safatshahin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andrewnicols for updating this doc, looking good.

@safatshahin safatshahin added this pull request to the merge queue May 18, 2026
Merged via the queue into moodle:main with commit 4ca732f May 18, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants